import type { TableHeader , operationInstance } from "@/components/dzs-table/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "标题",
        key: "title",
    },
    {
        label: "简介",
        key: "brfie",
    },
    {
        label: "关键字",
        key: "keywords",
    },
    {
        label: "更多信息",
        key: "more_meta",
        props : {
            'show-overflow-tooltip' : true
        }
    },
    {
        label: "是否显示",
        key: "is_show",
        isSlot: true,
    },
    {
        label: "更新时间",
        key: "updatetime",
    },
    {
        label: "创建时间",
        key: "addtime",
    },
    {
        label: "创建人",
        key: "createByUser",
    },
];

export const operation : Array<operationInstance> = ['edit','delete','detail'];
